package com.example.simin_manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.simin_manage.util.PerformancePeriodStatus;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @description:
 * @author: panpan
 * @time: 2025/9/14
 */
@Data
@TableName("performance_period")
public class PerformancePeriod {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name; // 周期名称（例如 "2025年9月考核周期"）

    private LocalDate startDate;

    private LocalDate endDate;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long createdBy;

    private PerformancePeriodStatus status; // 使用枚举类



}